<!DOCTYPE html>
<html>
	<head>
		<title>{$uinfo.user_login} - 个人中心</title>
		<meta name="keywords" content="" />
		<meta name="description" content="">
		<include file="public@head" />
		<style>
			.control-label {
				font-weight: bold;
				float: left;
				width: 70px;
			}
		</style>
	</head>
	<body class="body-white" id="top">
		<div class="container">
			<div class="row">
				<div class="tabs">
					<div class="tab-content">
						<div class="tab-pane active" id="one">
							<div class="wrap js-check-wrap" style="margin-top:3rem;">
											<div class="am-text-xl am-padding-bottom-xs" onclick="javascript:history.back(-1);"><img src="__TMPL__/public/assets/images/back.png" style="margin-left:0px;"></div>
							
								<form class="well form-inline margin-top-20" method="post" action="{:url('Stream/index')}">
									时间:
									<input type="text" class="form-control js-bootstrap-datetime" name="start_time" id="start_time" value="{$start_time|default=''}" style="width: 140px;" autocomplete="off">-
									<input type="text" class="form-control js-bootstrap-datetime" name="end_time" id="end_time" value="{$end_time|default=''}" style="width: 140px;" autocomplete="off"> &nbsp; &nbsp;
									<input type="submit" class="btn btn-success" value="搜索" />
									<a class="btn btn-warning" href="{:url('Stream/index')}">清空</a>
								</form>
								<table class="table table-hover table-bordered table-striped">
									<thead>
										<tr style="text-align: center;">
											<th width="40">ID</th>
											<th align="left">收银员</th>
											<th align="left">店铺</th>
											<th align="left">销售金额</th>
											<th align="left">付款金额</th>
											<th align="left">优惠金额</th>
											<th align="left">实收金额</th>
											<th align="left">找零金额</th>			
											<th align="left">生成时间</th>
											<th align="left">操作</th>
										</tr>
									</thead>
									<tbody>
										<foreach name="list" item="vo">
										<tr style="text-align: center;">
											<td>{$vo.id}</td>
											<td>{:get_operator_data($vo['operatorid'],'user_login')}</td><!-- 店铺 -->
											<td>{:get_store_data($vo['storeid'],'store_name')}</td><!-- 店铺 -->
											<td>{$vo.totalMoney}</td>
											<td>{$vo.actualMoney}</td>
											<td>{$vo.discount}</td>
											<td>{$vo.getMoney}</td>
											<td>{$vo.giveChange}</td>					
											<td>{$vo.ctime|time_format}</td>
											<td>
												<a href="javascript:parent.openIframeLayer('{:url('Stream/supply',array('id'=>$vo['id']))}',{});">修订流水</a>												
											</td>
										</tr>
										</foreach>
									</tbody>
								</table>
								<div class="pagination">{$page}</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- /container -->
		<include file="public@scripts" />
	</body>
</html>